<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改房间流水')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-tRoomBill-edit" th:object="${tRoomBill}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">房间号：</label>
				<div class="col-sm-8">
					<input id="fjh" name="fjh" th:field="*{fjh}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">状态：</label>
				<div class="col-sm-8">
					<input id="zt" name="zt" th:field="*{zt}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">开始时间：</label>
				<div class="col-sm-8">
					<input id="kssj" name="kssj" th:field="*{kssj}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">结束时间：</label>
				<div class="col-sm-8">
					<input id="jssj" name="jssj" th:field="*{jssj}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">基础费用：</label>
				<div class="col-sm-8">
					<input id="jcfy" name="jcfy" th:field="*{jcfy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">饮料费用：</label>
				<div class="col-sm-8">
					<input id="ylfy" name="ylfy" th:field="*{ylfy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">香烟费用：</label>
				<div class="col-sm-8">
					<input id="xyfy" name="xyfy" th:field="*{xyfy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">超时费用：</label>
				<div class="col-sm-8">
					<input id="csfy" name="csfy" th:field="*{csfy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">其他费用：</label>
				<div class="col-sm-8">
					<input id="qtfy" name="qtfy" th:field="*{qtfy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">总金额：</label>
				<div class="col-sm-8">
					<input id="zfy" name="zfy" th:field="*{zfy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">填写时间：</label>
				<div class="col-sm-8">
					<input id="txsj" name="txsj" th:field="*{txsj}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">填写人：</label>
				<div class="col-sm-8">
					<input id="txr" name="txr" th:field="*{txr}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "web/tRoomBill";
		$("#form-tRoomBill-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-tRoomBill-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
